package eteam.aps.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author LiuLei
 */
@ApiModel(value = "SalesOrderUpdateDto", description = "销售订单")
public class SalesOrderUpdateDto {

    @ApiModelProperty(name = "内码",notes = "内码")
    private String fId;

    /**
     * 发货地址;发货地址
     */
    @ApiModelProperty(name = "发货地址", notes = "发货地址")
    private String fSendAddress;

    /**
     * 预计发货时间;预计发货时间
     */
    @ApiModelProperty(name = "预计发货时间", notes = "预计发货时间")
    private LocalDateTime fSendDate;

    /**
     * 经办人;经办人
     */
    @ApiModelProperty(name = "经办人", notes = "经办人")
    private String fAgent;

    /**
     * 经办人电话;经办人电话
     */
    @ApiModelProperty(name = "经办人电话", notes = "经办人电话")
    private String fAgentPhone;

    /**
     * 发货物流;发货物流
     */
    @ApiModelProperty(name = "发货物流", notes = "发货物流")
    private String fSendLogistics;

    /**
     * 订货数;订货数
     */
    @ApiModelProperty(name = "订货数", notes = "订货数")
    private BigDecimal fOrderNum;

    /**
     * 本次发货数;本次发货数
     */
    @ApiModelProperty(name = "本次发货数", notes = "本次发货数")
    private BigDecimal fSendNum;

    /**
     * 最近修改人---外键，关联 system模块的 user 的 fuserid
     */
    @JsonIgnore
    private String fLastModifyUserId;

    /**
     * 修改时间 not null， 默认是 创建时间 用于 时间排序
     */
    @JsonIgnore
    private LocalDateTime fLastModifyTime;

    public String getfLastModifyUserId() {
        return fLastModifyUserId;
    }

    public void setfLastModifyUserId(String fLastModifyUserId) {
        this.fLastModifyUserId = fLastModifyUserId;
    }

    public LocalDateTime getfLastModifyTime() {
        return fLastModifyTime;
    }

    public void setfLastModifyTime(LocalDateTime fLastModifyTime) {
        this.fLastModifyTime = fLastModifyTime;
    }

    public String getfId() {
        return fId;
    }

    public void setfId(String fId) {
        this.fId = fId;
    }

    public String getfSendAddress() {
        return fSendAddress;
    }

    public void setfSendAddress(String fSendAddress) {
        this.fSendAddress = fSendAddress;
    }

    public LocalDateTime getfSendDate() {
        return fSendDate;
    }

    public void setfSendDate(LocalDateTime fSendDate) {
        this.fSendDate = fSendDate;
    }

    public String getfAgent() {
        return fAgent;
    }

    public void setfAgent(String fAgent) {
        this.fAgent = fAgent;
    }

    public String getfAgentPhone() {
        return fAgentPhone;
    }

    public void setfAgentPhone(String fAgentPhone) {
        this.fAgentPhone = fAgentPhone;
    }

    public String getfSendLogistics() {
        return fSendLogistics;
    }

    public void setfSendLogistics(String fSendLogistics) {
        this.fSendLogistics = fSendLogistics;
    }

    public BigDecimal getfOrderNum() {
        return fOrderNum;
    }

    public void setfOrderNum(BigDecimal fOrderNum) {
        this.fOrderNum = fOrderNum;
    }

    public BigDecimal getfSendNum() {
        return fSendNum;
    }

    public void setfSendNum(BigDecimal fSendNum) {
        this.fSendNum = fSendNum;
    }
}
